package com.ruoyi.business.service;

import com.ruoyi.business.entity.ChatContent;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.business.entity.dto.Friends;
import com.ruoyi.business.entity.dto.SellerFriends;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Ao
 * @since 2024-01-17
 */
public interface FrontChatContentService extends IService<ChatContent> {

    List<Friends> getFriends(String userid);

    //获取我的聊天记录
    List<ChatContent> getContent(String myuserid,String friendid,Long homestayId);

    //修改已读状态
    Integer  updateReadStatus(String myuserid,String friendid,Long homestayId);

    //获取商家聊天记录
    List<SellerFriends> getSellerFriends(String myuserid,Integer myType);

}
